export default {
	hasLogin(state) {
		return !!state.token;
	},
	getToken(state) {
		return state.token;
	},
	getUserInfo(state) {
		return state.userInfo;
	},
	// 获取权限
	getModuleActions(state) {
		return state.moduleActions;
	},
	gettownList(state){
		return state.townList;
	}
}

